package io.gitee.pkmer.greet.config;

import org.gradle.api.provider.Property;

/**
 * plugin extension
 * @author 胖卡
 * @version 1.0.0
 * @date 2024/8/12
 */

public interface GreetingPluginExtension {
    Property<String> getMessage();
    Property<String> getGreeter();

    /**---------------for groovy dsl Command Chain Syntax---------------------------*/
    default void message(String message){
        this.getMessage().set(message);
    }

    default void greeter(String greeter){
        this.getGreeter().set(greeter);
    }

}

